# $Id: PKGBUILD 65811 2012-02-22 12:46:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-email-send
pkgver=2.198
pkgrel=2
pkgdesc="Simply Sending Email "
arch=('any')
url="http://search.cpan.org/dist/Email-Send"
license=('GPL' 'PerlArtistic')
depends=('perl-email-address>=1.80' 'perl-email-simple>=1.92' 'perl-return-value>=1.28')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Send-$pkgver.tar.gz)
md5sums=('a977d48219aaf21b8cfbefe2826bcd47')

build() {
  cd  $srcdir/Email-Send-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
